#ifndef TEXTURE_H
#define TEXTURE_H

#include "abstractobject.h"

class Texture : public AbstractObject
{
    Q_OBJECT
public:
    explicit Texture(QObject* parent = 0);

    const QPixmap& pixmap() const { return m_pixmap; }
    QString fileName() const {return m_fileName; }
private:
    QString m_fileName;
    QPixmap m_pixmap;
signals:
    
public slots:
    void setFileName(const QString& fileName);
};

#endif // TEXTURE_H
